﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;
using EasyGo.Domain.Enums;

namespace EasyGo.Domain.Model
{
    public class UserAccount
    {
        public int Id { get; set; }

        [Required]
        public string FirstName { get; set; }
        
        [Required]
        public string LastName { get; set; }
        
        [Required]
        public string Email { get; set; }
        
        public int CompanyId { get; set; }

        public string Phone { get; set; }

        public string Pass { get; set; }

        public string Info { get; set; }

        public UserRole UserRole { get; set; }
    }
}
